<template>
	<view class="bi-warning-button" @click="handleClick">
		<slot></slot>
	</view>
</template>

<script>
export default {
	name: 'BiWarningButton',
	methods: {
		handleClick () {
			this.$emit('click')
		}
	}
}
</script>

<style lang="less">
.bi-warning-button {
	height: 22px;
	line-height: 22px;
	background-color: #F47554;
	color: #fff;
	padding: 0 12px;
	border-radius: 11px;
	display: inline-block;
	margin-left: 12px;
	font-size: 12px;
}
</style>